package com.coin.exchange.otcbtc.vo;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class MyTradesRequestVO {

	@NotNull(message="api_key required")
	@ApiModelProperty(value = "Access key", required = true)
	private String api_key;

	@NotNull(message="secret_key required")
	@ApiModelProperty(value = "Secret key", required = true)
	private String secret_key;

	@NotNull(message="market required")
	@ApiModelProperty(value = "Unique market id", required = true)
	private String market;
	
	@ApiModelProperty("Limit the number of returned trades. Default to 50. Range 1..1000")
	private Integer limit = 50;
	
	@ApiModelProperty("An integer represents the seconds elapsed since Unix epoch. If set, only trades executed before the time will be returned.")
	private Long timestamp;
	
	@ApiModelProperty("Trade id. If set, only trades created after the trade will be returned.")
	private String from;
	
	@ApiModelProperty("Trade id. If set, only trades created before the trade will be returned.")
	private String to;
	
	@ApiModelProperty("If set, returned trades will be sorted in specific order, default to 'desc'. Values: 'asc', 'desc'")
	private String order_by = "desc";

	public String getApi_key() {
		return api_key;
	}

	public void setApi_key(String api_key) {
		this.api_key = api_key;
	}

	public String getSecret_key() {
		return secret_key;
	}

	public void setSecret_key(String secret_key) {
		this.secret_key = secret_key;
	}

	public String getMarket() {
		return market;
	}

	public void setMarket(String market) {
		this.market = market;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}

	public String getFrom() {
		return from;
	}

	public void setFrom(String from) {
		this.from = from;
	}

	public String getTo() {
		return to;
	}

	public void setTo(String to) {
		this.to = to;
	}

	public String getOrder_by() {
		return order_by;
	}

	public void setOrder_by(String order_by) {
		this.order_by = order_by;
	}
	
}
